# Define source file lists to SRC_LIST
SRC_LIST = plutommi\mmi\funandgames\funandgamessrc\funandgamessrc.c \
           plutommi\mmi\funandgames\funandgamessrc\game3d.c \
           plutommi\mmi\funandgames\funandgamessrc\javagame.c \
           plutommi\mmi\funandgames\funandgamessrc\pictureeditor.c \
           plutommi\mmi\funandgames\funandgamessrc\pictureeditorengine.c \
           plutommi\mmi\funandgames\funandgamessrc\pictureeditorhandler.c \
           plutommi\mtkapp\avatar\avatarsrc\avatar.c \
           plutommi\mtkapp\fmschedulerec\fmschedulerecsrc\fmschedulerec.c \
           plutommi\mtkapp\fmschedulerec\fmschedulerecsrc\fmschedulerecmsghdlr.c \
           plutommi\mtkapp\fmschedulerec\fmschedulerecsrc\fmschedulerecscreen.c \
           plutommi\mtkapp\fmschedulerec\fmschedulerecsrc\fmschedulerecsetting.c \
           plutommi\mtkapp\javaagency\javaagencysrc\javaagencyem.c \
           plutommi\mtkapp\javaagency\javaagencysrc\javaagencymidsinstall.c \
           plutommi\mtkapp\javaagency\javaagencysrc\javaagencysrc.c \
           plutommi\mtkapp\javaagency\javaagencysrc\javaagencytaskswitch.c \
           plutommi\mtkapp\javaagency\javaagencysrc\javaagencytimealarm.c \
           plutommi\mtkapp\javaagency\javaagencysrc\javaagencyutil.c \
           plutommi\mtkapp\javaagency\javaagencysrc\JavaAgencyManager.c \
           plutommi\mtkapp\javaagency\javaagencysrc\JavaAgencyNetworkProfile.c \
           plutommi\mtkapp\javaagency\javaagencysrc\JavaAgencyEMPerformance.c \
           plutommi\mtkapp\mdi\mdisrc\mdi_audio.c \
           plutommi\mtkapp\mdi\mdisrc\mdi_common.c \
           plutommi\mtkapp\mdi\mdisrc\mdi_mtv.c \
           plutommi\mtkapp\mdi\mdisrc\mdi_swflash.c \
           plutommi\mtkapp\mdi\mdisrc\mdi_video.c \
           plutommi\mtkapp\mdi\mdisrc\mdi_gps.c \
           plutommi\mtkapp\mdi\mdisrc\mdi_agps.c \
           plutommi\mtkapp\mobiletvplayer\mobiletvplayersrc\mobiletvplayer.c \
           plutommi\mtkapp\mobiletvplayer\mobiletvplayersrc\mobiletvplayerOSD.c \
           plutommi\mtkapp\swflash\swflashsrc\swflashdlsrc.c \
           plutommi\mtkapp\swflash\swflashsrc\swflashplayer.c \
           plutommi\mtkapp\videoeditor\videoeditorsrc\vdoedtapp.c \
           plutommi\CUI\CameraCui\CameraCui.c \
           plutommi\CUI\CamcorderCui\CamcorderCui.c \
           plutommi\mtkapp\audioplayer\audioplayersrc\audioplayersingleplayer.c \
           plutommi\mtkapp\audioplayer\audioplayersrc\audioplayerutil.c

ifneq ($(filter __MMI_MEDIA_PLAYER__, $(strip $(MODULE_DEFS))),)

    SRC_LIST += plutommi\mtkapp\MediaPlayer\MediaPlayerSrc\MediaPlayerSettingSrc.c\
                plutommi\mtkapp\MediaPlayer\MediaPlayerSrc\MediaPlayerMain.c \
                plutommi\mtkapp\MediaPlayer\MediaPlayerSrc\MediaPlayerMsgHandler.c \
                plutommi\mtkapp\MediaPlayer\MediaPlayerSrc\MediaPlayerSingleApp.c

    ifneq ($(filter __MMI_MEDIA_PLAYER_FTE__, $(strip $(MODULE_DEFS))),)
        SRC_LIST += plutommi\mtkapp\MediaPlayer\MediaPlayerSrc\MediaPlayerFTEMainScreen.c
        SRC_LIST += plutommi\mtkapp\MediaPlayer\MediaPlayerSrc\MediaPlayerPlaylistUI.c
    endif
    
    ifneq ($(filter __MMI_MEDIA_PLAYER_PLST_DB_STYLE__, $(strip $(MODULE_DEFS))),)
        SRC_LIST += plutommi\mtkapp\MediaPlayer\MediaPlayerSrc\MediaPlayerPlayListDB.c
    endif

    ifeq ($(filter __MMI_MEDIA_PLAYER_FTE__, $(strip $(MODULE_DEFS))),)
        SRC_LIST += plutommi\mtkapp\MediaPlayer\MediaPlayerSrc\MediaPlayerMainScreen.c
    endif

    ifneq ($(filter __MMI_MEDIA_PLAYER_PLST_MULTIPLE_STYLE__, $(strip $(MODULE_DEFS))),)
        ifeq ($(filter __MMI_MEDIA_PLAYER_FTE__, $(strip $(MODULE_DEFS))),)
        SRC_LIST += plutommi\mtkapp\MediaPlayer\MediaPlayerSrc\MediaPlayerPlayList.c
        endif
    endif

    ifneq ($(filter __MMI_KURO_SUPPORT__, $(strip $(MODULE_DEFS))),)
        SRC_LIST += plutommi\mtkapp\MediaPlayer\MediaPlayerSrc\MediaPlayerPlayListKuro.c
        SRC_LIST += plutommi\mtkapp\MediaPlayer\MediaPlayerSrc\MediaPlayerKuroSkin.c
    endif

endif

ifneq ($(filter __MMI_IMAGE_VIEWER__, $(strip $(MODULE_DEFS))),)
    SRC_LIST += plutommi\mtkapp\camera\camerasrc\imageviewer.c
    SRC_LIST += plutommi\mtkapp\camera\camerasrc\imageviewerCommon.c
    SRC_LIST += plutommi\CUI\ImageViewCui\ImageViewCui.c
else
  ifneq ($(filter __MMI_FILE_MANAGER__, $(strip $(MODULE_DEFS))),)
    SRC_LIST += plutommi\mtkapp\camera\camerasrc\imageviewer.c
    SRC_LIST += plutommi\mtkapp\camera\camerasrc\imageviewerCommon.c
    SRC_LIST += plutommi\CUI\ImageViewCui\ImageViewCui.c
  endif

endif

ifneq ($(filter __MMI_IMAGE_VIEWER_ADV__, $(strip $(MODULE_DEFS))),)
    SRC_LIST += plutommi\mtkapp\camera\camerasrc\imageviewerAdv.c
endif

ifneq ($(filter __MMI_IMAGE_VIEWER_EX__, $(strip $(MODULE_DEFS))),)
    SRC_LIST += plutommi\mtkapp\camera\camerasrc\imageviewerEXApp.c
    SRC_LIST += plutommi\mtkapp\camera\camerasrc\imageviewerEXSkin.c
endif

ifneq ($(filter __BITSTREAM_API_SUPPORT__, $(strip $(MODULE_DEFS))),)
  SRC_LIST += plutommi\mtkapp\mdi\mdisrc\mdi_bitstream.c
endif

ifneq ($(filter OPERA_V10_BROWSER, $(strip $(MODULE_DEFS))),)
  SRC_LIST += plutommi\MtkApp\NPPlg\NPPlgSrc\npplg_av_main.c \
              plutommi\MtkApp\NPPlg\NPPlgSrc\npplg_av_audio.c \
              plutommi\MtkApp\NPPlg\NPPlgSrc\npplg_av_custom_config.c \
              plutommi\MtkApp\NPPlg\NPPlgSrc\npplg_av_util.c

  ifneq ($(filter __MMI_VIDEO_PLAY_SUPPORT__, $(strip $(MODULE_DEFS))),)
    SRC_LIST += plutommi\MtkApp\NPPlg\NPPlgSrc\npplg_av_video.c
    
    ifneq ($(filter __MMI_VIDEO_STREAM__, $(strip $(MODULE_DEFS))),)
      SRC_LIST += plutommi\MtkApp\NPPlg\NPPlgSrc\npplg_av_stream.c
    endif
  endif
else
  ifneq ($(filter __GADGET_SUPPORT__, $(strip $(MODULE_DEFS))),)
    SRC_LIST += plutommi\MtkApp\NPPlg\NPPlgSrc\npplg_av_main.c \
                plutommi\MtkApp\NPPlg\NPPlgSrc\npplg_av_audio.c \
                plutommi\MtkApp\NPPlg\NPPlgSrc\npplg_av_custom_config.c \
                plutommi\MtkApp\NPPlg\NPPlgSrc\npplg_av_util.c

    ifneq ($(filter __MMI_VIDEO_PLAY_SUPPORT__, $(strip $(MODULE_DEFS))),)
      SRC_LIST += plutommi\MtkApp\NPPlg\NPPlgSrc\npplg_av_video.c
    
      ifneq ($(filter __MMI_VIDEO_STREAM__, $(strip $(MODULE_DEFS))),)
        SRC_LIST += plutommi\MtkApp\NPPlg\NPPlgSrc\npplg_av_stream.c
      endif
    endif
  endif
endif

ifneq ($(filter __MMI_CAMERA__,$(strip $(MODULE_DEFS))),)
SRC_LIST += plutommi\mtkapp\mdi\mdisrc\mdi_camera.c
else
ifneq ($(filter __MMI_CAMCORDER__,$(strip $(MODULE_DEFS))),)
SRC_LIST += plutommi\mtkapp\mdi\mdisrc\mdi_camera.c
endif
endif

ifneq ($(filter __MMI_PHOTOEDITOR__, $(strip $(MODULE_DEFS))),)
    SRC_LIST += plutommi\mtkapp\photoeditor\photoeditorsrc\photoeditor.c
    SRC_LIST += plutommi\mtkapp\photoeditor\photoeditorsrc\photoart.c
    SRC_LIST += plutommi\CUI\PhotoEditorCui\photoeditorcui.c
    ifneq ($(filter __PHOEDT_FEATURE_IMGTILE__, $(strip $(MODULE_DEFS))),)
      SRC_LIST += plutommi\mtkapp\photoeditor\photoeditorsrc\imagetile.c
    endif
endif

ifneq ($(filter __MMI_TVOUT__,$(strip $(MODULE_DEFS))),)
SRC_LIST += plutommi\mtkapp\mdi\mdisrc\mdi_tv.c
endif

ifneq ($(filter __MMI_WEBCAM__,$(strip $(MODULE_DEFS))),)
SRC_LIST += plutommi\mtkapp\mdi\mdisrc\mdi_webcam.c
endif

ifneq ($(filter __MMI_SLIDESHOW__, $(strip $(MODULE_DEFS))),)
       SRC_LIST += plutommi\mtkapp\photoeditor\photoeditorsrc\slideshow.c
endif

ifneq ($(filter __MMI_CAMERA__, $(strip $(MODULE_DEFS))),)
    ifeq ($(filter __MMI_CAMCORDER__, $(strip $(MODULE_DEFS))),)
        SRC_LIST += plutommi\mtkapp\camera\camerasrc\cameraapp.c
        SRC_LIST += plutommi\mtkapp\camera\camerasrc\cameramenu.c
    endif
endif

ifneq ($(filter __MMI_VRSI__,$(strip $(MODULE_DEFS))),)
SRC_LIST += plutommi\mtkapp\vrsi\vrsisrc\vrsicityquery.c
SRC_LIST += plutommi\mtkapp\vrsi\vrsisrc\vrsidigitdial.c
SRC_LIST += plutommi\mtkapp\vrsi\vrsisrc\vrsigrammar.c
SRC_LIST += plutommi\mtkapp\vrsi\vrsisrc\vrsimaincmd.c
SRC_LIST += plutommi\mtkapp\vrsi\vrsisrc\vrsinamedial.c
SRC_LIST += plutommi\mtkapp\vrsi\vrsisrc\vrsinamequery.c
SRC_LIST += plutommi\mtkapp\vrsi\vrsisrc\vrsiredial.c
SRC_LIST += plutommi\mtkapp\vrsi\vrsisrc\vrsisettings.c
SRC_LIST += plutommi\mtkapp\vrsi\vrsisrc\vrsiprofile.c
SRC_LIST += plutommi\mtkapp\vrsi\vrsisrc\vrsishortcut.c
endif


ifneq ($(filter __MMI_STREAMING_OTAP__,$(strip $(MODULE_DEFS))),)
SRC_LIST += plutommi\mtkapp\video\videosrc\StreamingOTAP.c 
endif 
ifneq ($(filter __MMI_CAMCORDER__,$(strip $(MODULE_DEFS))),)
SRC_LIST += plutommi\CUI\CamcorderCui\CamcorderCui.c \
            plutommi\mtkapp\camcorder\camcordersrc\camcorderapp.c \
            plutommi\mtkapp\camcorder\camcordersrc\camcorderosd.c \
            plutommi\mtkapp\camcorder\camcordersrc\camcorderfteosd.c \
            plutommi\mtkapp\camcorder\camcordersrc\camcordersetting.c \
            plutommi\mtkapp\camcorder\camcordersrc\camcordersettinghdlr.c
endif

ifneq ($(filter __MMI_VIDEO_PLAYER__, $(strip $(MODULE_DEFS))),)
       SRC_LIST +=  plutommi\mtkapp\video\videosrc\vdoplyapp.c 
else
    ifneq ($(filter __MMI_VIDEO_PLAY_SUPPORT__, $(strip $(MODULE_DEFS))),)
        SRC_LIST +=  plutommi\mtkapp\video\videosrc\vdoplyapp.c 
    else
        ifneq ($(filter __MMI_VIDEO_RECORDER__, $(strip $(MODULE_DEFS))),)
            ifeq ($(filter __MMI_CAMCORDER__, $(strip $(MODULE_DEFS))),)
                SRC_LIST +=  plutommi\mtkapp\video\videosrc\vdoplyapp.c 
            endif
        endif
    endif
endif

ifneq ($(filter __MMI_ULC_VIDEO_PLAYER__, $(strip $(MODULE_DEFS))),)
       SRC_LIST +=  plutommi\mtkapp\video\videosrc\VdoPlyUltraSlimApp.c 
endif

ifneq ($(filter __MMI_AB_REPEATER__, $(strip $(MODULE_DEFS))),)
  SRC_LIST += plutommi\mtkapp\abrepeater\abrepeatersrc\abrepeatermainscreen.c \
           plutommi\mtkapp\abrepeater\abrepeatersrc\abrepeatermsghandler.c \
           plutommi\mtkapp\abrepeater\abrepeatersrc\abrepeatersrc.c 
endif
ifneq ($(filter __MMI_BG_SOUND_EFFECT__, $(strip $(MODULE_DEFS))),)
  SRC_LIST += plutommi\mtkapp\bgsound\bgsoundsrc\bgsoundincall.c \
           plutommi\mtkapp\bgsound\bgsoundsrc\bgsoundsetting.c 
endif            

ifneq ($(filter __MMI_RING_COMPOSER__, $(strip $(MODULE_DEFS))),)
  ifneq ($(filter __MMI_IMELODY_SUPPORT__, $(strip $(MODULE_DEFS))),)
  SRC_LIST += plutommi\mmi\funandgames\funandgamessrc\composeringtone.c \
           plutommi\mmi\funandgames\funandgamessrc\ringtonecomposeengine.c \
           plutommi\mmi\funandgames\funandgamessrc\composeringtonemainscreen.c
  endif  
endif 

ifneq ($(filter __MMI_AUDIO_PLAYER__, $(strip $(MODULE_DEFS))),)
  ifneq ($(filter __MMI_FTE_SUPPORT__, $(strip $(MODULE_DEFS))),)
    SRC_LIST += plutommi\mtkapp\audioplayer\audioplayersrc\audioPlayerMainScreen_FTE.c 
  else
    SRC_LIST += plutommi\mtkapp\audioplayer\audioplayersrc\audioplayermainscreen.c
  endif
  SRC_LIST +=plutommi\mtkapp\audioplayer\audioplayersrc\audioplayermsghandler.c \
           plutommi\mtkapp\audioplayer\audioplayersrc\audioplayerplaylist.c \
           plutommi\mtkapp\audioplayer\audioplayersrc\audioplayersrc.c \
           plutommi\mtkapp\audioplayer\audioplayersrc\audioplayersettings.c \
           plutommi\mtkapp\audioplayer\audioplayersrc\audioplayerdetails.c
endif

ifneq ($(filter __MMI_SOUND_RECORDER__, $(strip $(MODULE_DEFS))),)
  ifneq ($(filter __MMI_SNDREC_NEW__, $(strip $(MODULE_DEFS))),)
    SRC_LIST += plutommi\mtkapp\soundrecorder\soundrecordersrc\soundrecordermsghandler.c \
                plutommi\mtkapp\soundrecorder\soundrecordersrc\soundrecordersrc.c \
                plutommi\mtkapp\sndrec\sndrecsrc\sndrecui.c \
                plutommi\mtkapp\sndrec\sndrecsrc\sndrecdraw.c \
                plutommi\mtkapp\sndrec\sndrecsrc\sndrecutil.c \
                plutommi\mtkapp\sndrec\sndrecsrc\sndrecmsg.c 
  endif
endif

ifneq ($(filter __MMI_AUTO_ANSWER_MACHINE__, $(strip $(MODULE_DEFS))),)
SRC_LIST += plutommi\mtkapp\AnswerMachine\AnswerMachineSrc\AnswerMachineSetting.c \
           plutommi\mtkapp\AnswerMachine\AnswerMachineSrc\AnswerMachineSrc.c 
endif

ifneq ($(filter __MMI_FM_RADIO__, $(strip $(MODULE_DEFS))),)
  ifneq ($(filter __MMI_FTE_SUPPORT__, $(strip $(MODULE_DEFS))),)
    SRC_LIST += plutommi\mtkapp\fmradio\fmradiosrc\fmradiomainscreen_FTE.c 
  else
    SRC_LIST += plutommi\mtkapp\fmradio\fmradiosrc\fmradiomainscreen.c
  endif
  SRC_LIST += plutommi\mtkapp\fmradio\fmradiosrc\fmradiomsghdlr.c \
              plutommi\mtkapp\fmradio\fmradiosrc\fmradiosrc.c \
              plutommi\mtkapp\fmradio\fmradiosrc\FMRadioSchd.c 
endif

ifneq ($(filter __MMI_BCR__,$(strip $(MODULE_DEFS))),)
    SRC_LIST += plutommi\mtkapp\BCR\BCRSrc\BCRCameraSetting.c
    SRC_LIST += plutommi\mtkapp\BCR\BCRSrc\BCRApp.c
endif

ifneq ($(filter __MMI_VIDEO_RECORDER__,$(strip $(MODULE_DEFS))),)
    SRC_LIST += plutommi\mtkapp\video\videosrc\vdorecapp.c
    SRC_LIST += plutommi\CUI\VdoRecCui\VdoRecCui.c
else
    ifneq ($(filter __MMI_CAMCORDER__,$(strip $(MODULE_DEFS))),)
        SRC_LIST += plutommi\CUI\VdoRecCui\VdoRecCui.c
    endif
endif

ifneq ($(filter __ATV_SMS_SUPPORT__, $(strip $(MODULE_DEFS))),)
SRC_LIST += plutommi\mtkapp\mobiletvplayer\MtvSMSSrc\mtvsmsmain.c \
            plutommi\mtkapp\mobiletvplayer\MtvSMSSrc\MtvSmsViewer.c \
            plutommi\mtkapp\mobiletvplayer\MtvSMSSrc\MtvSmsTemplates.c \
            plutommi\mtkapp\mobiletvplayer\MtvSMSSrc\MtvSmsSendMsg.c \
            plutommi\mtkapp\mobiletvplayer\MtvSMSSrc\MtvSmsList.c \
            plutommi\mtkapp\mobiletvplayer\MtvSMSSrc\MtvSmsEditor.c \
            plutommi\mtkapp\mobiletvplayer\MtvSMSSrc\MtvSmsCommon.c \
            plutommi\mtkapp\mobiletvplayer\MtvSMSSrc\mtvsmsphb.c
endif

ifneq ($(filter __MMI_GAME__,$(strip $(MODULE_DEFS))),)
    SRC_LIST += plutommi\mmi\funandgames\funandgamessrc\game.c
    SRC_LIST += plutommi\mmi\funandgames\funandgamessrc\gameframework.c
endif   

ifneq ($(filter __MMI_GAME_CHICKEN__,$(strip $(MODULE_DEFS))),)
    SRC_LIST += plutommi\mmi\funandgames\funandgamessrc\stair.c
else
    ifneq ($(filter __MMI_GAME_ROBOT__,$(strip $(MODULE_DEFS))),)
        SRC_LIST += plutommi\mmi\funandgames\funandgamessrc\stair.c
    endif
endif

ifneq ($(filter __MMI_GAME_COLORBALLS__,$(strip $(MODULE_DEFS))),)
    SRC_LIST += plutommi\mmi\funandgames\funandgamessrc\colorballs.c
endif

ifneq ($(filter __MMI_GAME_COPTER__,$(strip $(MODULE_DEFS))),)
    SRC_LIST += plutommi\mmi\funandgames\funandgamessrc\copter.c
else
    ifneq ($(filter __MMI_GAME_JET__,$(strip $(MODULE_DEFS))),)
        SRC_LIST += plutommi\mmi\funandgames\funandgamessrc\copter.c
    else
        ifneq ($(filter __MMI_GAME_SUBMARINE__,$(strip $(MODULE_DEFS))),)
            SRC_LIST += plutommi\mmi\funandgames\funandgamessrc\copter.c
        endif
    endif
endif

ifneq ($(filter __MMI_GAME_DANCE__,$(strip $(MODULE_DEFS))),)
    SRC_LIST += plutommi\mmi\funandgames\funandgamessrc\dance.c
endif

ifneq ($(filter __MMI_GAME_DOLL__,$(strip $(MODULE_DEFS))),)
    SRC_LIST += plutommi\mmi\funandgames\funandgamessrc\doll.c
endif

ifneq ($(filter __MMI_GAME_F1RACE__,$(strip $(MODULE_DEFS))),)
    SRC_LIST += plutommi\mmi\funandgames\funandgamessrc\f1race.c
endif

ifneq ($(filter __MMI_GAME_FRUIT__,$(strip $(MODULE_DEFS))),)
    SRC_LIST += plutommi\mmi\funandgames\funandgamessrc\fruit.c
endif

ifneq ($(filter __MMI_GAME_HANOI__,$(strip $(MODULE_DEFS))),)
    SRC_LIST += plutommi\mmi\funandgames\funandgamessrc\toh.c
endif

ifneq ($(filter __MMI_GAME_MAGICSUSHI__,$(strip $(MODULE_DEFS))),)
    SRC_LIST += plutommi\mmi\funandgames\funandgamessrc\magicsushi.c
endif

ifneq ($(filter __MMI_GAME_MAJUNG__,$(strip $(MODULE_DEFS))),)
    SRC_LIST += plutommi\mmi\funandgames\funandgamessrc\majung.c
endif

ifneq ($(filter __MMI_GAME_MONKEY__,$(strip $(MODULE_DEFS))),)
    SRC_LIST += plutommi\mmi\funandgames\funandgamessrc\panda.c
else
    ifneq ($(filter __MMI_GAME_PANDA__,$(strip $(MODULE_DEFS))),)
        SRC_LIST += plutommi\mmi\funandgames\funandgamessrc\panda.c
    endif
endif

ifneq ($(filter __MMI_GAME_PUZZLE__,$(strip $(MODULE_DEFS))),)
    SRC_LIST += plutommi\mmi\funandgames\funandgamessrc\puzzle.c
endif

ifneq ($(filter __MMI_GAME_RICHES__,$(strip $(MODULE_DEFS))),)
    SRC_LIST += plutommi\mmi\funandgames\funandgamessrc\riches.c
endif

ifneq ($(filter __MMI_GAME_SMASH__,$(strip $(MODULE_DEFS))),)
    SRC_LIST += plutommi\mmi\funandgames\funandgamessrc\smash.c
endif

ifneq ($(filter __MMI_GAME_SNAKE__,$(strip $(MODULE_DEFS))),)
    SRC_LIST += plutommi\mmi\funandgames\funandgamessrc\snake.c
endif

ifneq ($(filter __MMI_GAME_UFO__,$(strip $(MODULE_DEFS))),)
    SRC_LIST += plutommi\mmi\funandgames\funandgamessrc\ufo.c
endif

ifneq ($(filter __MMI_GAME_VSMJ__,$(strip $(MODULE_DEFS))),)
    SRC_LIST += plutommi\mmi\funandgames\funandgamessrc\vsmj.c
endif

ifneq ($(filter __MMI_MOTION_APP__,$(strip $(MODULE_DEFS))),)
    SRC_LIST += plutommi\mmi\funandgames\funandgamessrc\motionapp.c
endif

ifneq ($(filter __MMI_MOTIONGAME_DICE__,$(strip $(MODULE_DEFS))),)
    SRC_LIST += plutommi\mmi\funandgames\funandgamessrc\motiondice.c
endif

ifneq ($(filter __MMI_MOTIONGAME_DJ__,$(strip $(MODULE_DEFS))),)
    SRC_LIST += plutommi\mmi\funandgames\funandgamessrc\motiondj.c
    SRC_LIST += plutommi\mmi\funandgames\funandgamessrc\motiondjres.c
endif

ifneq ($(filter MOTION_SENSOR_SUPPORT,$(strip $(MODULE_DEFS))),)
    SRC_LIST += plutommi\mtkapp\mdi\mdisrc\mdi_motion.c
endif






# Define include path lists to INC_DIR
INC_DIR = applib\inet\engine\include \
          applib\mem\include \
          applib\misc\include \
          drv\include \
          fmt\include \
          fs\fat\include \
          interface\hwdrv \
          ps\interfaces\local_inc \
          ps\tftp\include \
          plutommi\customer\customerinc \
          plutommi\customer\customize \
          plutommi\customer\custresource \
          plutommi\mmi\asyncevents\asynceventsinc \
          plutommi\mmi\inc \
          plutommi\mmi\inc\imgid \
          plutommi\mmi\inc\menuid \
          plutommi\mmi\inc\stringid \
          plutommi\mmi\fontdata \
          plutommi\mmi\framework\commonfiles\commoninc \
          plutommi\mmi\framework\eventhandling\eventsinc \
          plutommi\mmi\framework\filesystem\filesysteminc \
          plutommi\mmi\framework\history\historyinc \
          plutommi\mmi\framework\memmanager\memmanagerinc \
          plutommi\mmi\framework\nvrammanager\nvrammanagerinc \
          plutommi\mmi\framework\osl\oslinc \
          plutommi\mmi\framework\tasks\tasksinc \
          plutommi\mmi\framework\thememanager\thememanagerinc \
          plutommi\mmi\gui\gui_inc \
          plutommi\mmi\gui\oem_inc \
          plutommi\mmi\miscframework\miscframeworkinc \
          plutommi\mmi\InputMethod\Engine\Engine_Inc \
          plutommi\mmi\InputMethod\Inc \
          plutommi\mmi\InputMethod\UI\UI_Inc \
          plutommi\mtkapp\gdi\gdiinc \
          plutommi\mtkapp\mdi\mdiinc \
          plutommi\mtkapp\mtkappinc \
          vendor\inputmethod\cstar\adaptation\include \
          vendor\inputmethod\t9\adaptation\include \
          vendor\inputmethod\zi\adaptation\include \
          3g324m\interface\inc \
          btstacka\inc \
          camera\include \
          custom\mercury\mercury_master\inc \
          custom\mercury\mercury_slave\inc \
          dm\task\inc \
          dm\wrapper\inc \
          dp_engine\m3d\include \
          dp_engine\opengl \
          dp_engine\opengl\include \
          dp_engine\opengl\include\gles \
          dp_engine\opengl\main \
          drm\include \
          drv\idp\include \
          drv\idp\include\legacy \
          drv\idp\include\legacy\idp_hw \
          gps\inc \
          irda\inc \
          j2me\interface \
          j2me\jal\include \
          j2me\jal\include \
          j2me\vm\ijet\adaptation\include \
          m3g\include \
          media\image\include \
          media\rtp\inc \
          media\stream\include \
          media\mtv\src \
          t9\include \
          usb\include \
          verno \
          wapadp\include \
          xmlp\include \
          plutommi\CUI\Inc \
          plutommi\mmi\athandler\athandlerinc \
          plutommi\mmi\audio\audioinc \
          plutommi\mmi\bidi\bidiinc \
          plutommi\mmi\browserapp\browser\browserinc \
          plutommi\mmi\browserapp\profile\profileinc \
          plutommi\mmi\browserapp\provisioning\provisioninginc \
          plutommi\mmi\browserapp\pushinbox\pushinboxinc \
          plutommi\mmi\commonscreens\commonscreensinc \
          plutommi\mmi\connect\connectinc \
          plutommi\mmi\connectmanagement\connectmanagementinc \
          plutommi\mmi\cphs\cphsinc \
          plutommi\mmi\customerservice\customerserviceinc \
          plutommi\mmi\dataaccount\dataaccountinc \
          plutommi\mmi\datetime\datetimeinc \
          plutommi\mmi\debuglevels\debuglevelinc \
          plutommi\mmi\dictionary\dictinc \
          plutommi\mmi\ebookreader\ebookinc \
          plutommi\mmi\editorpen\editorpeninc \
          plutommi\mmi\emailapp\emailappinc \
          plutommi\mmi\ems\emsinc \
          plutommi\mmi\extra\extrainc \
          plutommi\mmi\funandgames\funandgamesinc \
          plutommi\mmi\gpio\gpioinc \
          plutommi\mmi\gsmcallapplication\commonfiles\commoninc \
          plutommi\mmi\gsmcallapplication\incomingcallmanagement\incominginc \
          plutommi\mmi\gsmcallapplication\outgoingcallmanagement\outgoinginc \
          plutommi\mmi\help\helpinc \
          plutommi\mmi\idlescreen\idlescreeninc \
          plutommi\mmi\idlescreen\idlescreeninc\demoappinc \
          plutommi\MMI\Idle\IdleInc \
          plutommi\MMI\Dialer\DialerInc \
          plutommi\MMI\ScrLocker\ScrLockerInc \
          plutommi\MMI\ScrSaver\ScrSaverInc \
          plutommi\mmi\imps\impsinc \
          plutommi\mmi\indiclanguages\indiclanguagesinc \
          plutommi\mmi\languages\thai\thaiinc \
          plutommi\mmi\mainmenu\mainmenuinc \
          plutommi\mmi\messages \
          plutommi\mmi\messages\messagesinc \
          plutommi\mmi\mobileservice\mobileserviceinc \
          plutommi\mmi\nitzhandler\nitzinc \
          plutommi\mmi\organizer\organizerinc \
          plutommi\mmi\phonebook\phonebookinc \
          plutommi\mmi\poc\pocinc \
          plutommi\mmi\poweron\poweroninc \
          plutommi\mmi\profiles\profilesinc \
          plutommi\mmi\resource\inc \
          plutommi\mmi\sat\satinc \
          plutommi\mmi\setting\settinginc \
          plutommi\mmi\smartmessage\smartmessageinc \
          plutommi\mmi\ssc\sscinc \
          plutommi\mmi\ucm\ucminc \
          plutommi\Service\Inc \
          plutommi\mmi\unifiedcomposer\unifiedcomposerinc \
          plutommi\mmi\unifiedmessage\unifiedmessageinc \
          plutommi\mmi\unifiedmms\mmsapp\mmsappinc \
          plutommi\Service\UmmsSrv \
          plutommi\mmi\unifiedmms\mmsbgsr\mmsbgsrinc \
          plutommi\mmi\unifiedmms\mmsjsr\mmsjsrinc \
          plutommi\mmi\videocall\videocallinc \
          plutommi\mmi\voip\voipinc \
          plutommi\mtkapp\abrepeater\abrepeaterinc \
          plutommi\mtkapp\audioplayer\audioplayerinc \
          plutommi\mtkapp\avatar\avatarinc \
          plutommi\mtkapp\bgsound\bgsoundinc \
          plutommi\mtkapp\camera\camerainc \
          plutommi\mtkapp\camcorder\camcorderinc \
          plutommi\mtkapp\MediaPlayer\MediaPlayerInc \
          plutommi\mtkapp\centralconfigagent\centralconfigagentinc \
          plutommi\mtkapp\connectivity\connectivityinc \
          plutommi\mtkapp\connectivity\connectivityinc\btcommon \
          plutommi\mtkapp\connectivity\connectivityinc\btmtk \
          plutommi\mtkapp\csbrowser\csbrowserinc \
          plutommi\mtkapp\devicemanagement\devicemanagementinc \
          plutommi\mtkapp\dlagent\dlagentinc \
          plutommi\mtkapp\dmuiapp\dmuiappinc \
          plutommi\mtkapp\EngineerMode\EngineerModeApp\EngineerModeAppInc \
          plutommi\mtkapp\EngineerMode\EngineerModeEngine\EngineerModeEngineInc \
          plutommi\mtkapp\filemgr\filemgrinc \
          plutommi\mtkapp\fmradio\fmradioinc \
          plutommi\mtkapp\fmschedulerec\fmschedulerecinc \
          plutommi\mtkapp\javaagency\javaagencyinc \
          plutommi\mtkapp\mmiapi\include \
          plutommi\mtkapp\mobiletvplayer\mobiletvplayerinc \
          plutommi\mtkapp\myfavorite\myfavoriteinc \
          plutommi\mtkapp\photoeditor\photoeditorinc \
          plutommi\mtkapp\pictbridge\pictbridgeinc \
          plutommi\mtkapp\rightsmgr\rightsmgrinc \
          plutommi\mtkapp\soundrecorder\soundrecorderinc \
          plutommi\mtkapp\sndrec\sndrecinc \
          plutommi\mtkapp\AnswerMachine\AnswerMachineInc \
          plutommi\mtkapp\svg\svginc \
          plutommi\mtkapp\swflash\swflashinc \
          plutommi\mtkapp\syncml\syncmlinc \
          plutommi\mtkapp\video\videoinc \
          plutommi\mtkapp\videoeditor\videoeditorinc \
          plutommi\mtkapp\vobjects\vobjectinc \
          plutommi\mtkapp\vrsd\vrsdinc \
          plutommi\mtkapp\vrsi\vrsiinc \
          plutommi\vendorapp\devapp\devappinc \
          vendor\dict\gv\adaptation\inc \
          vendor\dict\motech\adaptation\inc \
          vendor\dict\trilogy\adaptation\inc \
          vendor\game_engine\brogent\adaptation \
          vendor\game_engine\brogent\game \
          vendor\game_engine\intergrafx\adaptation \
          vendor\game_engine\intergrafx\game \
          vendor\langlearn\app\inc \
          vendor\mercury_master\inc \
          vendor\mercury_master\inc\master_sdk_inc \
          vendor\mercury_master\inc\adapter_inc \
          vendor\mercury_gemini\ADL\inc \
          vendor\mercury_gemini\ADU\inc \
          vendor\mercury_gemini\common\inc \
          vendor\mercury_gemini\PFALL\inc \
          vendor\mercury_gemini\PFALU\inc \
          vendor\swflash\neomtel\adaptation\inc \
          vendor\wap\obigo_q05a\adaptation\integration\owl\include \
          vendor\wap\obigo_q05a\adaptation\modules\bam\include \
          vendor\wap\obigo_Q03C\v1_official\modules\bra\config \
          vendor\wap\obigo_Q03C\v1_official\modules\bra\refsrc \
          vendor\wap\obigo_Q03C\v1_official\modules\bra\source \
          vendor\wap\obigo_Q03C\v1_official\modules\mea\intgr \
          vendor\wap\obigo_Q03C\v1_official\msf\msf_lib\config \
          vendor\wap\obigo_Q03C\v1_official\msf\msf_lib\export \
          vendor\wap\obigo_Q03C\v1_official\msf\msf_lib\intgr \
          vendor\wap\obigo_Q03C\adaptation\modules\mma\include \
          vendor\wap\obigo_Q03C\adaptation\msf_ui\include \
          modis\filesystem\filesysteminc \
          drv\graphics\g2d\inc \
          plutommi\mtkapp\BCR\BCRInc \
          plutommi\mmi\UDX\UDXInc \
          applib\sqlite3\inc \
          image_codec\sw_jpeg_codec\include \
          media\bitstream\include \
          vendor\player\ipeer\inc \
          vendor\player\ipeer\adaptation\inc \
          image_codec\sw_rotator\inc \
          plutommi\CUI\VdoRecCui \
          plutommi\CUI\CameraCui \
          plutommi\CUI\CamcorderCui \
          plutommi\CUI\ImageViewCui \
          plutommi\CUI\PhotoEditorCui \
          vendor\dcd\adaptation \
          vendor\dcd\adaptation\inc \
          vendor\dcd\adaptation\inc\SDK \
          vendor\dcd\adaptation\inc\SDK\Components\DCDAgentComponent\Interface \
          vendor\dcd\adaptation\inc\Source\BrowserApplication \
          vendor\dcd\adaptation\inc\SDK\Porting\Interface \
          vendor\dcd\adaptation\inc\SDK\Components\EFCInterface\Common \
          vendor\dcd\adaptation\inc\Source\Application \
          vendor\dcd\adaptation\inc\SDK\Porting \
          plutommi\mtkapp\DCD\DCDInc \
          venusmmi\vrt\interface \
          venusmmi\framework \
          venusmmi\framework\interface \
          venusmmi\visual \
          venusmmi\visual\interface \
          venusmmi\pluto_adapter \
          venusmmi\pluto_adapter\interface \
          venusmmi\pluto_adapter\interface\res \
          venusmmi\test \
          venusmmi\app \
          venusmmi\app\interface \
          venusmmi\framework\ui_core\mvc \
          media\codec\include \
          media\media_sec\sw_mp4_dec\include \
          plutommi\MtkApp\NPPlg\NPPlgInc \
          vendor\opera\browser\adaptation\inc \
          vendor\widget\google\adaptation \
          vendor\wap\obigo_q03c\adaptation\integration\include \
          venusmmi\app\ShellApp\panel \
          venusmmi\app\ShellApp\panel\HomeScreen \
          venusmmi\pluto_adapter\ShellApp\panel \
          venusmmi\pluto_adapter\ShellApp\panel\HomeScreen \
          plutommi\Service\ProfilesSrv \
          plutommi\MtkApp\GPS\GPSInc \
          plutommi\mtkapp\VREAPP\VREAPPInc \
          plutommi\Service\UMSrv \
		  plutommi\mtkapp\MobileTVPlayer\MtvSMSInc \
		  plutommi\mmi\phonebook\core \
		  plutommi\mmi\langmodule\langmoduleinc \
          vendor\fone\Platform\Mtk\Inc
          
ifneq ($(filter __MMI_DSM_NEW__ , $(strip $(MODULE_DEFS))),)                  
	INC_DIR += plutommi\mmi\mythroad\mythroadinc
endif          

# Define the specified compile options to COMP_DEFS
COMP_DEFS = MMI_ON_HARDWARE_P  \
            __EMS__ \
            SIM_APP_TOOLKIT \
            TETRIS_GAME_APP \
            CM_APPLICATION_ENABLE \
            MESSAGES_APPLICATION \
            __UCS2_ENCODING \
            CELLBROADCAST_APP \
            __CB__ \
            VM_SUPPORT \
            SHORTCUTS_APP \
            T9LANG_English \
            T9LANG_Chinese \
            T9LANG_Spanish \
            T9LANG_French \
            T9LANG_German \
            T9LANG_Italian \
            EMS_LITTLE_ENDIAN \
            EMS_MEM_MANAGEMENT \
            T9ALPHABETIC \
            T9CHINESE \
            MMS_VIRTUAL_FILE_SUPPORT \
            COMPILER_SUPPORTS_LONG=1 \
            __MTK__ \
            __MTK_PLUGIN_API_IMPORT__
 
# Define the source file search paths to SRC_PATH
SRC_PATH = plutommi\mmi\audio\audiosrc \
           plutommi\mmi\funandgames\funandgamessrc \
           plutommi\mtkapp\abrepeater\abrepeatersrc \
           plutommi\mtkapp\audioplayer\audioplayersrc \
           plutommi\mtkapp\avatar\avatarsrc \
           plutommi\mtkapp\bgsound\bgsoundsrc \
           plutommi\mtkapp\camera\camerasrc \
           plutommi\mtkapp\camcorder\camcordersrc \
           plutommi\mtkapp\fmradio\fmradiosrc \
           plutommi\mtkapp\MediaPlayer\MediaPlayerSrc \
           plutommi\mtkapp\fmschedulerec\fmschedulerecsrc \
           plutommi\mtkapp\javaagency\javaagencysrc \
           plutommi\mtkapp\mdi\mdisrc \
           plutommi\mtkapp\mobiletvplayer\mobiletvplayersrc \
           plutommi\mtkapp\mtkappsrc \
           plutommi\mtkapp\photoeditor\photoeditorsrc \
           plutommi\mtkapp\soundrecorder\soundrecordersrc \
           plutommi\mtkapp\sndrec\sndrecsrc \
           plutommi\mtkapp\swflash\swflashsrc \
           plutommi\mtkapp\video\videosrc \
           plutommi\mtkapp\videoeditor\videoeditorsrc \
           plutommi\mtkapp\vrsd\vrsdsrc \
           plutommi\mtkapp\vrsi\vrsisrc \
           plutommi\mtkapp\AnswerMachine\AnswerMachineSrc \
           plutommi\mtkapp\BCR\BCRSrc \
           plutommi\CUI\CameraCui \
           plutommi\CUI\VdoRecCui \
           plutommi\CUI\CamcorderCui \
           plutommi\CUI\ImageViewCui \
           plutommi\CUI\PhotoEditorCui \
           plutommi\MtkApp\NPPlg\NPPlgSrc \
           plutommi\mtkapp\mobiletvplayer\MTVSMsSRC 

